package com.words.service.Impl;

import com.words.dao.User_RoleDao;
import com.words.entity.SysUserRole;
import com.words.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysUserRoleServiceImpl implements SysUserRoleService {
    @Autowired
    private User_RoleDao userRoleDao;
    @Override
    public List<SysUserRole> listByUserId(Integer userId) {
        return userRoleDao.listByUserId(userId);
    }
}
